package org.zfes.snowier.cloud.zbss.tts;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.zfes.snowier.cloud.zbss.tts.config.AppCtxUtil;

//@EnableSwagger2
@SpringBootApplication
public class TTSApplication {

	public static void main(String[] args) {
		SpringApplication.run(TTSApplication.class, args);
	}
	 @Bean("appCtxUtil")
	 @Order(Ordered.HIGHEST_PRECEDENCE+999)
	 public AppCtxUtil appCtx() { 
		 AppCtxUtil ctx=new AppCtxUtil();
	   return ctx;  
	}
}
